#############################################################################
#
#                   Copyright (C) 1993 SciTech Software
#                           All rights reserved.
#
# Descripton:   Makefile definitions for compiling SciTech Software products.
#               Symantec C++ 6.1 version (16 bit and 32 bit).
#
# $Id: symantec.def 1.1 1994/03/06 07:48:03 kjb Exp $
#
#############################################################################

# The following will need to be changed to reflect your normal include file
# and library directories.

INC_DEST        = \bc\include\myinc # Destination for include files

!if $d(dosx)
LIB_DEST        = d:\sc\lib\mylib32 # Destination for library files
!else
LIB_DEST        = d:\sc\lib\mylib16 # Destination for library files
!endif

CC              = sc                # Name of C compiler
ASM             = tasm              # Name of assembler
LIB             = lib               # Name of librarian
LIB_FLAGS       = /N /B

!if $d(debug)
CC_DOPT         = -g                # Turn on debugging for C compiler
ASM_DOPT        = /ZI               # Turn on debugging for assembler
!endif

!if $d(optimize)
CC_OPT          = -o+all            # Turn on full optimisation
OPTIMIZE        = -Doptimize
!endif

# Only compile for the 32 bit memory model

LIBFILE         = $(LIB_DEST)\$(LIBNAME).lib
COMPILE_ONLY    = -c

!if $d(dosx)
ASM_FLAGS       = /MX /m $(ASM_DOPT) /D__X386__ /DSYMC
CC_FLAGS        = -4 -D__MSDOS__ -D__SYMC__ -DDOSX -mx $(CC_DOPT) $(CC_OPT)
COMPILER        = -Dsymantec -Ddosx
!else
ASM_FLAGS       = /MX /m $(ASM_DOPT) /D__LARGE__
CC_FLAGS        = -4 -D__MSDOS__ -D__SYMC__ -ml $(CC_DOPT) $(CC_OPT)
COMPILER        = -Dsymantec
!endif

